{% extends 'base.html' %}
{% load staticfiles %}
{% block title %}试卷列表{% endblock %}

{% block css %}

    <link rel="stylesheet" type="text/css" href="/static/css/login.css">


{% endblock %}





{% block content %}

    <!-- Content Header (Page header) -->
    <section class="content-header">

    </section>

    <!-- Main content -->
    <section class="content">
            <style>
        #box1 {
            width: 600px;
            margin: 90px auto;
        }

        #box1 p {
            font-size: 30px;
            margin-bottom: 10px;
        }
        #box2 {
            width: 300px;
            margin: 20px auto;
        }


        #box2 p {
            font-size: 26px;
            margin-bottom: 10px;
        }
       #mydef {
            text-align: center;
        }



        .score {
            font-size: 50px;
            color: #3c8dbc;
        }


    </style>

        <div id="box1">
            <div id="mydef">
                <h1 class="score">试卷列表</h1>

            </div>
        </div>

        <div id="box2">
            {% for i in papers %}
                <p>试卷名称：<a href="{% url 'exams:paper' i.id %}">{{ i.name }}</a></p>
            {% endfor %}
        </div>

    <div id="box1">


{#    <div id="box2">#}
{#      <a   href="{% url 'select' %}">#}
{#    <input class="btn btn-green"   value="随机抽题  " />#}
{#      </a>#}
{#</div>#}
{#            <div id="box2">#}
{#      <a   href="{% url 'train' %}">#}
{#    <input class="btn btn-green"   value="我要训练  " />#}
{#      </a>#}
{#</div>#}


    </div>
    </section>

{% endblock %}

